import unittest
from scripts.login import LoginTestCase
from libs.HTMLTestRunner import HTMLTestRunner
import datetime
from utils.TimeUtils import trans_date

suite = unittest.TestSuite()

suite.addTest(unittest.TestLoader().loadTestsFromTestCase(LoginTestCase))

with open("report.html", "wb") as f:
    runner = HTMLTestRunner(f)
    runner.run(suite)
